package com.boruiimage.demo.doMain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class elisor {
    Integer id;
    String name;
    String phone;
    String userName;
    String email;
    String context;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    Date data;
    Integer imgId;
    public elisor(Integer id, String name, String phone, String userName, String email, String context, Date data,Integer imgId) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.userName = userName;
        this.email = email;
        this.context = context;
        this.data = data;
        this.imgId=imgId;
    }

    public elisor(String name, String phone, String userName, String email, String context, Date data,Integer imgId) {
        this.name = name;
        this.phone = phone;
        this.userName = userName;
        this.email = email;
        this.context = context;
        this.data = data;
        this.imgId=imgId;
    }

    public elisor() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Date getData() {
        return data;
    }

    public void setData(Date data) {
        this.data = data;
    }

    public Integer getImgId() {
        return imgId;
    }

    public void setImgId(Integer imgId) {
        this.imgId = imgId;
    }

    @Override
    public String toString() {
        return "elisor{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", userName='" + userName + '\'' +
                ", email='" + email + '\'' +
                ", context='" + context + '\'' +
                ", data=" + data +
                ", imgId=" + imgId +
                '}';
    }
}
